//
//  JTableViewBottomView.h
//  IfengNews
//
//  Created by Ryan on 14-1-28.
//
//

#import <UIKit/UIKit.h>

typedef enum{
    JTableViewLoadMoreStateLoading = 0,
    JTableViewLoadMoreStateNormal,
    JTableViewLoadMoreStateNoMore,
    JTableViewLoadMoreStatePulling
}JTableViewLoadMoreState;

@class JTableView;
@interface JTableBottomView : UIView

@property (nonatomic,unsafe_unretained) BOOL isAutoReflash;

@property (nonatomic,assign) JTableViewLoadMoreState state;


- (void)setObserverScrollView:(JTableView *)ascrollView;

- (void)removeObserverScrollView:(JTableView *)ascrollView;

- (void)updateCSS;

- (void)finishWithScuessLoading:(UIScrollView *)scrollView;
- (void)finishWithFailLoading:(UIScrollView *)scrollView;
- (void)finishWithNoMoreData:(UIScrollView *)scrollView;
- (void)finishWithSuccessLoadingNoAuto:(UIScrollView *)scrollView;
- (void)finishWithNothingLoading:(UIScrollView *)scrollView;

- (void)reset:(BOOL)autoload;
- (void)setAuto:(BOOL)isAuto;

- (void)hiddenSeperatorLine;

@end
